package service;

import pojo.DoctorWork;
import pojo.FullDoctorWork;
import pojo.Work;

import java.util.List;

public interface WorkService {
    List<Work> findAll();
    int addWork(Work work);
    int updateWork(Work work);
    int deleteWork(String day);
    List<DoctorWork> getWorkByWeek(String week);
    List<FullDoctorWork> getAllBaseInfo(String day);
    int updateDoctorWorks(String day, int departmentId, List<DoctorWork> doctorWorks);

    List<DoctorWork> getWorkPlanByWeek(String week);

    Work getPlansStatus(String startDay);

    boolean generatePlan(Work wp);

    int updateByDay(Work wp);
}